package cn.wildfire.chat.app.main;

import java.util.List;

import cn.wildfire.chat.kit.search.SearchActivity;
import cn.wildfire.chat.kit.search.SearchableModule;
import cn.wildfire.chat.kit.search.module.ContactSearchModule;

/**
 * Create by HEKE, 2019/8/29 16:38
 * TODO 只能搜索联系人菜单的搜索界面
 */
public class SearchContactActivity extends SearchActivity {

    @Override
    protected void initSearchModule(List<SearchableModule> modules) {
        SearchableModule module = new ContactSearchModule();
        modules.add(module);
    }

    @Override
    protected void afterViews() {
        super.afterViews();
        setSearchType(getIntent().getIntExtra("search_type", SearchActivity.TYPE_CONTACT_SEARCH));
    }


}
